package com.itbz.pojo;

import java.util.List;

/**
 * 分页查询实体类
 */
public class Page<T> {
  //当前页
  private int currentPage;
  //每页显示的条数
  private int pageSize;
  //总条数
  private int totalCount;
  //总页数
  private int totalPage;
  //结果集
  private List<T> result;


  public int getCurrentPage() {
    return currentPage;
   }


  public void setCurrentPage(int currentPage) {
    this.currentPage = currentPage;
   }


  public int getPageSize() {
    return pageSize;
   }


  public void setPageSize(int pageSize) {
    this.pageSize = pageSize;
   }


  public int getTotalCount() {
    return totalCount;
   }


  public void setTotalCount(int totalCount) {
    this.totalCount = totalCount;
   }


  public int getTotalPage() {
    return totalPage;
   }


  public void setTotalPage(int totalPage) {
    this.totalPage = totalPage;
   }


  public List<T> getResult() {
    return result;
   }


  public void setResult(List<T> result) {
    this.result = result;
   }
}
